#@layout()
#define main()
<div class="table_box">
	<table class="list">
		<tbody>
			<tr>
				<th width="4%">id</th>
				<th width="35%">标题</th>
				<th width="12%">操作</th>
			</tr>
			#for(x : masterPage.getList())
			<tr>
				<td>(x.ID)</td>
				<td>#(x.name)</td>
				<td><a href="/test/detail/?id=#(x.id)">查看明细</a></td>
			</tr>
			#end
		</tbody>
	</table>
	#@paginate(masterPage.pageNumber, masterPage.totalPage, "/test/index/")
</div>
#end